package com.spider.admin.service.agent;

import com.spider.admin.exception.SpiderException;
import com.spider.admin.http.entity.PageResult;
import com.spider.admin.store.primary.model.AgentSettingInfo;

import java.util.List;
import java.util.Map;

public interface AgentSettingService {
    PageResult<AgentSettingInfo> queryAgentSettingList(Integer currentPage, Integer pageSize, String section, String optionItem, String belongType, String belongId) throws SpiderException;

    int saveSetting(AgentSettingInfo agentSettingInfo) throws SpiderException;

    List<Map<String, String>> queryAgentServerList(String tenantId, Integer roleType) throws SpiderException;

    int deleteWithOptionPid(String pid) throws SpiderException;

    List<Map<String, String>> queryAgentServerList2(String tenantId, Integer roleType) throws SpiderException;
}
